<div class="container">
    <div class="top">
        <h1 class="page__title" style="background-color:#479de6">命令收發<span id="PageBack" class="back">返回</span><a
                class="home fa fa-home ajax-page" id="home" href=".html"></a></h1>
    </div>
    <div class="page" id="page" style="background-color:#ffffff;">
        <div class="pagebg"></div>
        <div class="pagemain">
            <div id="view914348" class="" style="padding: 5px; margin: 5px;">
                <div class="">
                    <a data-index="971493" href="{:url('taizhu/index')}" data-page="page414840"><p><strong><span style="font-family: 微软雅黑, &quot;Microsoft YaHei&quot;;">&lt;返回</span></strong></p></a>
                </div>
                <div class="">
                    <p style="text-align: center;"><span style="font-family: 微软雅黑, &quot;Microsoft YaHei&quot;; font-size: 24px;"><strong>裝置命令收發驗證</strong></span></p>
                </div>
            </div>
            <div id="view372628" class="" style="padding: 5px; margin: 5px;">
                <div class="">
                    <p>
                        <span style="font-size: 16px;font-family: Calibri, sans-serif">{$device.name}[{$device.deviceid}]<br/><br/><strong>
                            {if $device.isonline}
                                <span style="font-size: 16px; font-family: Calibri, sans-serif; color: rgb(0, 176, 80);">
                                    在線 </span></strong><br/>
                                </span>
                        {else}
                                  <span style="font-size: 16px; font-family: Calibri, sans-serif; color: rgb(250, 10, 80);">
                                    离線</span></strong><br/>
                        {/if}
                        </span>
                    </p>
                </div>
            </div>

            <div class="weui-flex" style="padding: 5px; margin: 5px;">
                <div id="flex_item5528920" class="weui-flex_item weui-flex_item5528920"
                     style="flex-basis:auto;padding: 0px !important;width:100%;">
                    <div class="weui-form" style="padding: 5px; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;">
                        <div class="weui-form-item">
                            <a  id="a1" href="javascript:;" data-msgtype="1" class="weui-btn    weui-btn_primary sendmsg">切換 A 組馬達</a>
                        </div>
                    </div>
                    <div class="weui-form" style="padding-bottom: 5px; padding-left: 5px; padding-right: 5px; margin-bottom: 5px; margin-left: 5px; margin-right: 5px;">
                        <div class="weui-form-item">
                            <a  href="javascript:;" data-msgtype="2" class="weui-btn    weui-btn_primary  sendmsg">切換 B 組馬達</a>
                        </div>
                    </div>
                </div>
            </div>

            <div class="" style="padding: 5px; margin: 5px;">
                <div class="">
                    信息區
                </div>
                <div class="" style="border-width: 1px; border-style: solid; border-color: rgb(108, 129, 240); padding: 10px; margin: 10px;">
                    <div class="" style="padding: 0px; margin: 0px;">
                        {foreach name="dataList" item="vo"}
                        {if $vo.isRecevice}
                                <span style="color: rgb(255, 0, 0);">Recevice: {$vo.create_time}&nbsp; &nbsp;
                            {else}
                                <span style="color: rgb(0, 176, 240);">SEND: {$vo.create_time}&nbsp; &nbsp;
                            {/if}
                            <br/> </span>{$vo.msg} <br/><br/>
                        {/foreach}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>